package com.ruoyi.kiku.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 小鞠新闻对象 kiku_news_info
 *
 * @author TT
 * @date 2025-09-03
 */

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class KikuNewsInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 新闻标题 */
    @Excel(name = "新闻标题")
    private String title;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /** 作者 */
    @Excel(name = "作者")
    private String author;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long views;

    /** 封面图 */
    @Excel(name = "封面图")
    private String coverImage;

    /** 正文内容（HTML格式） */
    @Excel(name = "正文内容")
    private String content;

    /** 图片数量 */
    @Excel(name = "图片数量")
    private Integer imageNum;

    /** 标签列表 */
    @Excel(name = "标签列表")
    private String[] tags;

    /** images */
    private List<KikuNewsImages> images;

}
